package com.filetransfer.service;

import com.filetransfer.model.FileInfo;

import java.util.List;
import java.util.Optional;

public interface FileService {
    FileInfo saveFile(String id, String fileName, String filePath, long fileSize, String fileType);
    List<FileInfo> getAllFiles();
    Optional<FileInfo> getFileById(String id);
    boolean deleteFile(String id);
}